import { upload } from '@/utils/request.js'
export default {
  methods: {
    uploadFile: function(params) {
      return upload({
        url: this.uploadFileUrl,
        method: 'POST',
        headers: {
          "Content-Type": "multipart/form-data"
        },
        data: params
      })
    }
  }
}
